﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagementClient.ViewModel
{
    public  class ChatGroup
    {
        public int id { get; set; } //ID
        public string groupCode { get; set; }   //组编号
        public string groupName { get; set; }   //组名称
        public string groupAvatar { get; set; }   //组图片
        public string createUser { get; set; }  //创建人
        public string createTime { get; set; } //创建时间 
        public string status { get; set; } //状态(0正常 1异常)
        public int hotelId { get; set; } //酒店编号
        public string noticeColor { get; set; }//消息颜色

        public ChatGroup(int id, string groupCode, string groupName, string groupAvatar, string createUser, string createTime, string status, int hotelId, string noticeColor)
        {
            this.id = id;
            this.groupCode = groupCode;
            this.groupName = groupName;
            this.groupAvatar = groupAvatar;
            this.createUser = createUser;
            this.createTime = createTime;
            this.status = status;
            this.hotelId = hotelId;
            this.noticeColor = noticeColor;
        }

        public ChatGroup()
        {
        }

        public ChatGroup(string groupCode, string groupName, string groupAvatar, string createUser, string createTime, string status, int hotelId, string noticeColor)
        {
            this.groupCode = groupCode;
            this.groupName = groupName;
            this.groupAvatar = groupAvatar;
            this.createUser = createUser;
            this.createTime = createTime;
            this.status = status;
            this.hotelId = hotelId;
            this.noticeColor = noticeColor;
        }
    }
}
